package com.stylefeng.guns.modular.system.service.impl;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.stylefeng.guns.common.persistence.dao.TMonthbalanceMapper;
import com.stylefeng.guns.common.persistence.model.TMonthbalance;
import com.stylefeng.guns.modular.system.service.ITMonthBalanceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author wengys123
 * @since 2018-03-14
 */
@Service
public class TMonthbalanceServiceImpl extends ServiceImpl<TMonthbalanceMapper, TMonthbalance> implements ITMonthBalanceService {

    @Autowired
    private TMonthbalanceMapper tMonthbalanceMapper;
    @Override
    public List<Map<String, Object>> monthBalanceList(Page<Map<String, Object>> page, Map param) {
        return tMonthbalanceMapper.monthBalanceList(page,param);
    }

    @Override
    public List<Map<String, Object>> monthbalanceList(Page<Map<String, Object>> page, Map param) {
        return tMonthbalanceMapper.monthbalanceList(page,param);
    }

    @Override
    public Map selectMonthBalanceBill(Integer monthbalanceId, Integer dotId) {
        return tMonthbalanceMapper.selectMonthBalanceBill(monthbalanceId,dotId);
    }
}
